GET FILE TYPE
This command will get the type value of the file currently recorded by the file search commands FIND FIRST and FIND NEXT.
Return Integer=GET FILE TYPE()
A value of zero indicates it is a file. A type value of 1 indicates it is a directory. A type value of -1 indicates there are no more files in the current working directory
A type value of zero indicates it is a file. A type value of 1 indicates it is a directory. A type value of -1 indicates there are no more files in the current working directory.
cls
find first
repeat
printC "file name= "+get filename$()
printC " file type = "+str$(get file type())
print " file date = "+str$(get file date$())
find next
until get file type()=-1
do
loop
end
FILE Commands Menu
Index